
Page({


  data: {
    list:[]
  },
 
  onLoad: function (dataname) {
    wx.showLoading({
      title: '正在加载',
    })
    wx.request({
      url: `http://web.juhe.cn:8080/constellation/getAll?consName=${dataname.name}&type=today&key=d056ed6029e782b314a20c7749d87b8a`,
      success: (res) => {
        console.log(res)
        wx.hideLoading()
        this.setData({
          list: res.data
        })
      }
    })
  },
})